Fix compiler warnings
authorjustbur <justin@burkett.cc>
Thu, 10 Mar 2016 14:03:35 +0000 (09:03 -0500)
committerjustbur <justin@burkett.cc>
Thu, 10 Mar 2016 14:03:35 +0000 (09:03 -0500)
Fixes #106

which-key.el

index 138d46b3d40e6e16abfdb6c3730a3d4f879b85ac..1971dc9b84cd0646ca4ca0d86f1c0af64ca4d313 100644 (file)
 (require 'cl-lib)
 (require 'button)
 
-(eval-when-compile
-  (defvar golden-ratio-mode))
+;; For compiler
+(defvar evil-operator-shortcut-map)
+(defvar evil-operator-state-map)
+(defvar evil-motion-state-map)
+(defvar golden-ratio-mode)
+(declare-function evil-get-command-property "ext:evil-common.el")
 
 (defgroup which-key nil
   "Customization options for which-key-mode"